package com.prg.model.base;

import javax.persistence.AttributeOverride;
import javax.persistence.AttributeOverrides;
import javax.persistence.Column;
import javax.persistence.EmbeddedId;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Hello entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "HELLO", schema = "SSHE")
public class Hello implements java.io.Serializable {

	// Fields

	private HelloId id;

	// Constructors

	/** default constructor */
	public Hello() {
	}

	/** full constructor */
	public Hello(HelloId id) {
		this.id = id;
	}

	// Property accessors
	@EmbeddedId
	@AttributeOverrides({
			@AttributeOverride(name = "id", column = @Column(name = "ID", length = 100)),
			@AttributeOverride(name = "name", column = @Column(name = "NAME", length = 100)) })
	public HelloId getId() {
		return this.id;
	}

	public void setId(HelloId id) {
		this.id = id;
	}

}